[INFO] cloning repository https://github.com/DenialAdams/trash
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DenialAdams/trash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenialAdams%2Ftrash", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenialAdams%2Ftrash'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2eb207e0d1354cb3e72bcbd4a421efbfcedbe767
[INFO] building DenialAdams/trash against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenialAdams%2Ftrash" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/DenialAdams/trash on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/DenialAdams/trash
[INFO] finished tweaking git repo https://github.com/DenialAdams/trash
[INFO] tweaked toml for git repo https://github.com/DenialAdams/trash written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/DenialAdams/trash already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] faf1919bb282281fd66fa451f821d4a2d78914bfa430928b0b24d48c1a44958d
[INFO] running `Command { std: "docker" "start" "-a" "faf1919bb282281fd66fa451f821d4a2d78914bfa430928b0b24d48c1a44958d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "faf1919bb282281fd66fa451f821d4a2d78914bfa430928b0b24d48c1a44958d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "faf1919bb282281fd66fa451f821d4a2d78914bfa430928b0b24d48c1a44958d", kill_on_drop: false }`
[INFO] [stdout] faf1919bb282281fd66fa451f821d4a2d78914bfa430928b0b24d48c1a44958d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ca551112083b5e65584a87e65fd11c6ec24ba45f6ca0ea45f422a72dc85cff6a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ca551112083b5e65584a87e65fd11c6ec24ba45f6ca0ea45f422a72dc85cff6a", kill_on_drop: false }`
[INFO] [stderr]    Compiling termcolor v0.3.5
[INFO] [stderr]    Compiling libc v0.2.39
[INFO] [stderr]    Compiling trash v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: found removed `do catch` syntax
[INFO] [stdout]   --> src/main.rs:82:45
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let result: Result<(), io::Error> = do catch {
[INFO] [stdout]    |                                             ^^^^^^^^ help: replace with the new syntax: `try`
[INFO] [stdout]    |
[INFO] [stdout]    = note: following RFC #2388, the new non-placeholder syntax is `try`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `try` expression is experimental
[INFO] [stdout]   --> src/main.rs:82:45
[INFO] [stdout]    |
[INFO] [stdout] 82 |           let result: Result<(), io::Error> = do catch {
[INFO] [stdout]    |  _____________________________________________^
[INFO] [stdout] 83 | |             prompt::write_prompt(&mut handle, &user_name, user_id, &home_dir, exit_status)?;
[INFO] [stdout] 84 | |             handle.flush()?;
[INFO] [stdout] 85 | |             io::stdin().read_line(&mut input_line)?;
[INFO] [stdout] 86 | |             let _ = input_line.pop(); // Newline
[INFO] [stdout] 87 | |             Ok(())
[INFO] [stdout] 88 | |         };
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #31436 <https://github.com/rust-lang/rust/issues/31436> for more information
[INFO] [stdout]    = help: add `#![feature(try_blocks)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/config.rs:61:48
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn load_settings(home_dir: &str) -> Result<((Vec<PathBuf>, Vec<CString>, HashMap<CString, String>)), Error> {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/main.rs:202:57
[INFO] [stdout]     |
[INFO] [stdout] 202 |                         let mut wstatus: i32 = unsafe { std::mem::uninitialized() };
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<Result<(), std::io::Error> as Try>::Ok == Result<(), _>`
[INFO] [stdout]   --> src/main.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             Ok(())
[INFO] [stdout]    |             ^^^^^^ expected `()`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `()`
[INFO] [stdout]               found enum `Result<(), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trash`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "ca551112083b5e65584a87e65fd11c6ec24ba45f6ca0ea45f422a72dc85cff6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca551112083b5e65584a87e65fd11c6ec24ba45f6ca0ea45f422a72dc85cff6a", kill_on_drop: false }`
[INFO] [stdout] ca551112083b5e65584a87e65fd11c6ec24ba45f6ca0ea45f422a72dc85cff6a
